The Golden Rule

Christianity:

All things whatsoever you would that men should so to you, do ye even so to them: for this is the Law and the Prophets.

Matthew, 7.12

Islam:

No one of you is a believer until he desires for his brother that which he desires for himself.

Sunnah

Judaism:

What is hateful to you, do not do to your fellow man. That is the entire Law; All the rest is commentary.

Talmud, Shabbet, 31a

Hinduism:

This is the sum of duty: Do naught unto others which would cause you pain if done to you.

Mahabarata, 51 1517

Buddhism

Hurt not others in ways that you yourself would find hurtful.

Udan-Varga, 5,18

Confuscianism

Surely it is the maxim of loving kindness: Do not unto others that you would not have them do unto you.

Analects, 15.23

Taoism

Regard your neighbour's gain as your own gain, and your neighbour's loss as your own loss.

T'ai Shang Kan Ying Pien

Zoroastrianism

That nature alone is good which refrains from doing another whatsoever is not good for itself.

Dadistan-i-dinik, 94,5